package com.woniuxy.factory.entity;

import java.util.Date;

/**
 * @NTLX data 2020 08 22
 */
public class SystemMenu {
    /**
     * ID
     */
    private Integer symId;
    /**
     * 父ID
     */
    private Integer pid;
    /**
     * 名称
     */
    private String title;
    /**
     * 菜单图标
     */
    private String icon;
    /**
     * 链接
     */
    private String href;
    /**
     * 链接打开方式
     */
    private String target;
    /**
     * 菜单层级
     */
    private Integer level;
    /**
     * 菜单排序
     */
    private Integer sort;
    /**
     * 备注信息
     */
    private String remark;
    /**
     * 创建时间
     */
    private Date createAt;
    /**
     * 更新时间
     */
    private Date updateAt;
    /**
     * 删除时间
     */
    private Date deleteAt;
    /**
     * 状态(1:禁用,0:启用)
     */
    private Integer flag;

    public SystemMenu() {
    }

    public SystemMenu(Integer symId, Integer pid, String title, String icon, String href, String target, Integer level, Integer sort, String remark, Date createAt, Date updateAt, Date deleteAt, Integer flag) {
        this.symId = symId;
        this.pid = pid;
        this.title = title;
        this.icon = icon;
        this.href = href;
        this.target = target;
        this.level = level;
        this.sort = sort;
        this.remark = remark;
        this.createAt = createAt;
        this.updateAt = updateAt;
        this.deleteAt = deleteAt;
        this.flag = flag;
    }

    public Integer getSymId() {
        return symId;
    }

    public void setSymId(Integer symId) {
        this.symId = symId;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public Date getDeleteAt() {
        return deleteAt;
    }

    public void setDeleteAt(Date deleteAt) {
        this.deleteAt = deleteAt;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "SystemMenu{" +
                "symId=" + symId +
                ", pid=" + pid +
                ", title='" + title + '\'' +
                ", icon='" + icon + '\'' +
                ", href='" + href + '\'' +
                ", target='" + target + '\'' +
                ", level=" + level +
                ", sort=" + sort +
                ", remark='" + remark + '\'' +
                ", createAt=" + createAt +
                ", updateAt=" + updateAt +
                ", deleteAt=" + deleteAt +
                ", flag=" + flag +
                '}';
    }
}
